package com.cloud.feeling.ststem.service;


import java.util.Map;

import com.cloud.common.RestCode;
import com.cloud.common.RestResponse;
import com.cloud.common.model.User;
import com.cloud.common.model.UserToken;
import com.cloud.common.utils.PageQuery;
import com.github.pagehelper.PageInfo;

public interface UserService {
	
	public UserToken auth(User user);
	
	public UserToken logout(String token);
	
	public void saveUser(User user);
	
	public User getUserByToken(String token);
	
	public PageInfo<User> list(PageQuery params);
	
	public RestResponse<RestCode> verificationUsername(User user);
	
	public User select(User user);
	
	public RestResponse<RestCode> deleteUser(Integer[] ids);

}
